#ifndef PET_H
#define PET_H

#include <QWidget>
#include <QPixmap>
#include <qlabel.h>
#include <QPushButton>

class pet : public QWidget
{
    Q_OBJECT

public:
    pet(QWidget *parent = nullptr);
    ~pet();
    void updateRoleAnimation();
    bool eventFilter(QObject *watched, QEvent *ev) override;

private:
    QLabel *roleLabel;
    qint8 currentFrame;

};
#endif // PET_H
